import { network } from '@/utils';

import { basic } from '../../../../../config/Apis';

export async function queryList(params: any) {
  return network.get(basic.audit_list, { params });
}

export async function queryPartner(params: any) {
  return network.get(basic.partner_list, { params });
}

export async function allowAudit(params: any) {
  return network.post(basic.audit_adopt, { data: params });
}

export async function refuseAudit(params: any) {
  return network.post(basic.audit_refuse, { data: params });
}

export async function relieveAudit(params: any) {
  return network.post(basic.audit_relieve, { data: params });
}

export async function arrearsAvailable(params: any) {
  return network.post(basic.arrears_available, { data: params });
}
